Skip to content

[PWGCF] Removed potential memory leaks#15743

Merged
wenyaCern merged 1 commit into
AliceO2Group:masterfrom
MaximVirta:V02
Apr 13, 2026
Merged

[PWGCF] Removed potential memory leaks#15743
wenyaCern merged 1 commit into
AliceO2Group:masterfrom
MaximVirta:V02

Conversation

@MaximVirta
Copy link
Copy Markdown
Contributor

Fix potential memory leaks by introducing unique pointers

@github-actions
Copy link
Copy Markdown

O2 linter results: ❌ 4 errors, ⚠️ 0 warnings, 🔕 3 disabled

@wenyaCern wenyaCern merged commit b59bb79 into AliceO2Group:master Apr 13, 2026
11 of 13 checks passed
Ankyyadav pushed a commit to Ankyyadav/O2Physics that referenced this pull request Apr 13, 2026
Co-authored-by: Maxim Virta <maximus@Maxims-MacBook-Pro.local>
smaff92 pushed a commit to smaff92/O2Physics that referenced this pull request Apr 27, 2026
Co-authored-by: Maxim Virta <maximus@Maxims-MacBook-Pro.local>
mtorresc15 pushed a commit to mtorresc15/O2Physics that referenced this pull request May 5, 2026
Co-authored-by: Maxim Virta <maximus@Maxims-MacBook-Pro.local>
Comment on lines +257 to +260
std::unique_ptr<TF1> fMultGlobalV0ACutLow;
std::unique_ptr<TF1> fMultGlobalV0ACutHigh;
std::unique_ptr<TF1> fMultGlobalT0ACutLow;
std::unique_ptr<TF1> fMultGlobalT0ACutHigh;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are never used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants